﻿using UnityEngine;

namespace Common
{
    public static class LocalInput
    {
        public static Vector2 GetMoveInput()
        {
            return new Vector2(Input.GetAxis("Horizontal"), Input.GetAxis("Vertical"));
        }
        
        public static Vector2 GetLookInput()
        {
            return new Vector2(Input.GetAxis("Mouse X"), Input.GetAxis("Mouse Y"));
        }
        
        public static bool IsPressedJump()
        {
            return Input.GetButtonDown("Jump");
        }
    }
}